import java.io.File;
import java.io.IOException;

// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
public class Main {
    public static void main(String[] args) {
        Runtime ec = Runtime.getRuntime();
        File file = new File("Notepad.exe");
        File file1 = new File("C:\\Program Files\\Microsoft Office" +
                "\\Office16\\EXCEL.EXE");
        try{
            ec.exec(file.getName());
            ec.exec(file1.getAbsolutePath());
        }catch(IOException e){
            e.printStackTrace();
        }
    }
}